package test.common;

/**
 * @author zhenjie.Ji
 * @description 请求统一结构体
 * @date 2025/2/5 13:52
 */
public class RequestMessage<T> {
    private ReqHead reqHead;
    private T reqBody;
    private String signatureValue;

    public RequestMessage() {
    }

    public RequestMessage(ReqHead reqHead, T reqBody, String signatureValue) {
        this.reqHead = reqHead;
        this.reqBody = reqBody;
        this.signatureValue = signatureValue;
    }

    public ReqHead getReqHead() {
        return reqHead;
    }

    public void setReqHead(ReqHead reqHead) {
        this.reqHead = reqHead;
    }

    public T getReqBody() {
        return reqBody;
    }

    public void setReqBody(T reqBody) {
        this.reqBody = reqBody;
    }

    public String getSignatureValue() {
        return signatureValue;
    }

    public void setSignatureValue(String signatureValue) {
        this.signatureValue = signatureValue;
    }

    @Override
    public String toString() {
        return "test.RequestMessage{" +
                "reqHead=" + reqHead +
                ", reqBody=" + reqBody +
                ", signatureValue='" + signatureValue + '\'' +
                '}';
    }
}
